
********************************************************************************
*
* Readme file for
*
* DOES SPORTSWASHING WORK?
* FIRST INSIGHTS FROM THE 2022 WORLD CUP IN QATAR
*
* By Christian Glaessel, Adam Scharpf, Pearce Edwards
*
* Journal of Politics
*
* October 2023
*
********************************************************************************


********************************************************************************
* NOTE
********************************************************************************

- Running the replication code takes approx. 2 minutes.
- Please contact authors should any problems occur.


********************************************************************************
* REPLICATION STEPS
********************************************************************************

- To replicate all results follow these steps:

	-> Set working directory in file "replication.do".
	-> If necessary, install required .ado-files as indicated in "replication.do".
	-> Run file "replication.do" to replicate all statistical results.


********************************************************************************
* .DO FILE USED IN STATA 16.0 (VERSION SE, WINDOWS, 64-bit x86-64)
********************************************************************************

1. "replication.do": commands used in conjuction with the .dta datasets described below in order to replicate:

	-> Figures 1 to 7 in the manuscript.
	-> Figures A.2.1 to A.7.2 in the online appendix. 
	-> Tables A.4.1 to A.6.31 in the online appendix.


********************************************************************************
* DATA FILES USED IN STATA 16.0 (VERSION SE, WINDOWS, 64-bit x86-64)
********************************************************************************

Information about the variables in each data set can be found in the accompanying codebook.

1. "sportsevents_data.dta": used to replicate Figure 1 in the manuscript.

2. "host_data": used to replicate Figure 2 in the manuscript.

3. "survey_data.dta": used to replicate Figures 3, 4, 5, 6, and 7 as well as all statistical analyses reported in the manuscript and the online appendix.

4. "searchterm_data.dta": used to replicate Figure A.7.1 in the online appendix.

5. "tweets_data.dta": used to replicate Figure A.7.2 in the online appendix.

6. All "results_fig_X_X_95CI.dta" datasets contain statistical results for plotting and are produced by running "replication.do". 
